if (foo) {
    const bar = function () {};
}
